package com.sayice.design.End8_3;

public class Manager {
    private static Manager instance = null;
    private Sound sound;
    private Scene scene;
    private Role role;
    private Manager() {
        sound = new Sound();
        scene = new Scene();
        role = new Role();
    }
    public static Manager getGameManager() {
        if(instance == null) {
            instance = new Manager();
        }
        return instance;
    }
    public void setAboutGame(String sound1,String scene1,String role1) {
        sound.setSound(sound1);
        scene.setScene(scene1);
        role.setRole(role1);
    }
}
